package com.core.journey.dao;

import java.util.List; 

import com.core.journey.dto.JourneyDto;
import com.core.journey.dto.JourneySearchCondition;
import com.core.journey.pojo.Journey;
import com.core.visitor.pojo.Visitor;
public interface JourneyDao {
	void add (Journey journey);
	
	void update (Journey journey);	
	
	void del(Journey journey);
	
	Journey getById(int id);
	
	Integer searchCnt(JourneySearchCondition sc);
	
	List<Journey> searchPojoList(JourneySearchCondition sc);
	
	List<JourneyDto>searchDtoList(JourneySearchCondition sc);
	
	List<Journey> getJourneyList(JourneySearchCondition sc);
	Journey getJourney(Visitor visitor);
	
}
